﻿using A.M.Storage.Application;
using AutoMapper;
using J.M.Inventory.Application.IInventoryServices;
using J.M.Inventory.Domain.Entity;
using J.M.Inventory.Infrastruecure.IInventoryRepository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Application.InventoryServices
{
    /// <summary>
    /// 入库物品关系表服务层实现
    /// </summary>
    public class EnterwaerhouesgoodsServices:BaseServices<enterwaerhouesgoods, string>, IEnterwaerhouesgoodsServices
    {
        private readonly IEnterwaerhouesgoodsRepository enterwaerhouesgoodsRepository;
        private readonly IMapper mapper;

        public EnterwaerhouesgoodsServices(IEnterwaerhouesgoodsRepository enterwaerhouesgoodsRepository , IMapper mapper ) :base(enterwaerhouesgoodsRepository)
        {
            this.mapper= mapper;
            this.enterwaerhouesgoodsRepository = enterwaerhouesgoodsRepository;
        }
    }
}
